<mp-navigation-bar loading="{{loading}}" show="{{show}}" animated="{{animated}}" color="{{color}}" background="{{background}}" title="UI组件库" back="{{back}}"></mp-navigation-bar>
<view class="page">
	<view class="page__hd">
		<view class="page__title">Navigation</view>
		<view class="page__desc">小程序组定义导航栏</view>
	</view>
	<view class="page__hd page__bd_spacing">
		<button class="weui-btn" type="primary" bindtap="toggleLoading">触发loading</button>
		<button class="weui-btn" type="primary" bindtap="changeColor">修改文字颜色</button>
		<button class="weui-btn" type="primary" bindtap="changeBgColor">修改背景颜色</button>
		<button class="weui-btn" type="primary" bindtap="toogleShow">显示/隐藏</button>
		<button class="weui-btn" type="primary" bindtap="toggleAnimated">设置显示/隐藏opacity动画</button>
	</view>
</view>